﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Citi.EmailSender.Domain;

namespace Citi.EmailSender.WebUi.Models
{
    public class EmailDataModel : ModelBase<EmailDataModel, EmailData>
    {
        public string ApplicationUniqueKey { get; set; }
        public int ApplicationId { get; set; }
        public ApplicationModel Application { get; set; }
        public int OnBehalfOfId { get; set; }
        public OnBehalfOfModel OnBehalfOf { get; set; }
        public string Url { get; set; }
        [Required]
        public string Subject { get; set; }
        public int Importance { get; set; }
        public string Body { get; set; }
        public string ApplicationKey { get; set; }
        public bool Template { get; set; }
        public bool Active { get; set; }
    }
}